package com.campsys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("camp_course")
public class Course {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String name;  // 课程名称
    
    private String description;  // 课程描述
    
    private Long teacherId;  // 教师ID
    
    private Integer status;  // 状态：0-关闭，1-开放
    
    private LocalDateTime createTime;
    
    private String createBy;
    
    private LocalDateTime updateTime;
    
    private String updateBy;
} 